home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 3
/
Precision Software Applications Silver Collection Volume Three (PSM) (1993).iso
/
music2
/
midctrl.exe
/
README.DOC
< prev
Wrap
Text File
|
1992-07-25
|
2KB
|
54 lines
Warning: this is my first attempt at real-time midi programming, so use this
program at your own risk!
The program requires a soundblaster (or compatible, I guess), EGA or VGA and
a Microsoft compatible mouse. It will allow you to control two midi
controllers in real time. The EGAVGA.BGI file is used by Borland's graphics
routines, and it must be present on the same directory as MIDICTRL.EXE.
The program will prompt you for:
1. the transmit channel,
2. the controller number for the horizonal movement of the mouse,
3. the controller number for the vertical movement of the mouse, and
4. a delay time in milliseconds. I suggest using 50-100.
Some controllers:
1 modulation
2 breath
4 foot
5 portamento time
7 main volume
8 balance
10 pan
11 expression
The parameters are obtained from the mouse position, with (0,0) being the
upper left hand corner of the box. The maximum is (127,127), so this
will only work well for 7-bit controllers.
The delay time is necessary to let the instrument catch up, since most PCs
are capable of sending info faster than most midi devices are capable of
using it (this is my experience at least--I'm no midi expert).
The data are sent out the SoundBlaster's midi port. I have no way of knowing
if it will work with other midi ports. The program assumes that the addresses
for the SB registers start at 0x220.
To exit the program, just hit any key on the keyboard.
I use this program to control an ART SGX-T2 guitar effects processor
with my feet! It takes a little practice...
If you want to source code to make your own modifications, it's in Turbo C++.
Just leave me a note.
Btw, is anyone else out there interested in computer generated music (e.g. by
neural nets, rule based algorithms, etc.)?
David Eubanks
70034,557